Labels:text | parallel | number | diagram | document | screenshot | receipt OCR: Table 1 Differences between dirent implementations unction name 1990 POSIX.1 1.2 BSD 4.4 BSD Lite Gwyn 1990 Gwyn 1994 IR 0.2 Linux libe System V ABI SVRA 12 alphasort N [1] Y N N Y N N losedir Y Y Y Y Y Y lirfd N N Y N N N N N opendir Y Y Y 19] Y Y Y readdir Y Y Y Y Y Y Y Y rewinddir Y Y Y Y Y Y Y [8] jeandlar N [1] Y N N N Y N seekdir N [13] [13] [12] [17] N [15] [13] [13] telldi: N [1.3] [13] [12] [17] IN [15] [13] [13] header name 1990 POSIX.1 4.2 BSD 4.4 BSD Lite Gwyn 1990 Gwyn 1994 JR 0.2 Linux libe System V ABI SVR4 cdirent.h> Y N Y Y Y Y Y Y - csys/dir.ht> N Y Y N N N Y N N <sys/ dirent.h> N N Y Y Y N Y Y Y <sys/types.h> Y Y Y Y N N Y Y Y field name 1990 POSIX.1 1.2 BSD 4.4 BSD Lite Gwyn 1990 Gwyn 1994 JR 0.2 Linux libc System V ABI SVR4 d_fileno N N [11] N N N N N N d ino [9] [4] [11] [14] [14] N [14] [5] d_name Y Y Y Y Y Y Y Y Y d_namlen N [3] N [2] N N N Z d off N N N [6] [6,18] N [6] (6] [6] d_reclen N [3] [7] [7] [7,18] N d_type 191'2 [7] N N [10] N N N N N N [1] uses "struct direc!" instead of "struct dirent" [2] type is size_t (3) type is short [4] type is w_long 15] type is ino_f [6] type is off_F [7] type is unsigned short [8] implemented as macro [9] not in 1990 edition, although it was in 1986 draft, with type ino_f [10] type is unsigned char [11] type is unsigned long [12] location is type off_t [13] location is type long [14] type is long (15) location is type _off_t [16] buggy value before Linux 1.3.0 [17] implemented, but Gwyn toants to discourage its use [18] not supported in all operating systems [19] memory leak in MS-DOS opendir; email gryn@wrl.mil for bug fix